home *** CD-ROM | disk | FTP | other *** search
/ Mastering Computers 3 / Mastering Computers Vol 3.iso / Win95 / Network Utils / TOOLBOX / DO-FOR.DOC < prev    next >
Encoding:
Text File  |  1992-09-03  |  3.3 KB  |  85 lines

  1. Public Domain tools by Wolfgang Schreiber
  2.  
  3. Title   : Do-For: Multiple Commands for User/Group Sets
  4. Keywords: BINDERY OBJECTS COMMAND SUPERVISOR UTILITY USERS GROUPS
  5.  
  6. DO_FOR.ZIP contains 'DoForAll.EXE' and 'DoForMmb.EXE'. Those 
  7. utilities allow to issue any command for a specified set of users or 
  8. groups. "DoForAll User=*  NCOPY xyz.doc SYS:MAIL/%ID"   issues 
  9. NCOPY for all users. "DoForAll Gr=W*  MD f:%name" creates a subdir 
  10. for each matching group.  DoForMmb.EXE does a similar function for 
  11. all members of a specified group.  PD written and uploaded by 
  12. Wolfgang Schreiber.
  13.  
  14.  
  15.  
  16.  
  17.  
  18. DoForAll.EXE   Utility to Run any Application for Several NetWare Objects
  19. DoForMmb.EXE   Utility to Run any Application once for each Group Member
  20.  
  21.  
  22. These tools make administration/management of a complex network with 
  23. many users much easier since commands can be executed for all or 
  24. selected users.
  25.  
  26. This saved me a lot of work. I hope it can save your time, too. Enjoy it.
  27.  
  28.  
  29. ----------------------------------------------------------------------
  30. ----------------------------------------------------------------------
  31.  
  32.  
  33. DoForAll.EXE   Utility to Run any Application for Several NetWare Objects
  34.                Programmed by Wolfgang Schreiber
  35.  
  36. Function:      DoForAll scans the server for objects that match the specified
  37.                pattern and executes the command line for each object.
  38.                The command line may include the variable identifiers "%name"
  39.                and "%id". Those will be replaced by the objects' name/ID before
  40.                the command is executed.
  41.  
  42. Syntax:        DoForAll [<ObjType>=]<name> <command line>
  43.                - "User", "Group", "Queue", "FServer" are valid ObjTpyes.
  44.                - Default ObjType is "User"
  45.                - Names may contain wildcards.
  46.                - <command line> is a valid DOS command line.
  47.  
  48. Examples:      DoForAll User=*  NCOPY Z:test.doc SYS:MAIL\%id
  49.                     (copies test.doc to all mail boxes)
  50.  
  51.                DoForAll User=*  DIR F:\HOME\%name
  52.                     (shows all home directory contents)
  53.  
  54.                DoForAll Gr=W*   MD F:\%name
  55.                     (creates directories for specified groups)
  56.  
  57.                DoForAll Qu=DUS* NDIR SYS:SYSTEM\%id.QDR
  58.                     (displays specified queue directories)
  59.  
  60.  
  61. ----------------------------------------------------------------------
  62.  
  63.  
  64. DoForMmb.EXE   Utility to Run an Application once for each Group Member
  65.                Programmed by Wolfgang Schreiber
  66.  
  67. Function:      DoForMmb scans all members of the specified group and
  68.                executes the command line once for each matching object.
  69.                The command line may include the variable identifiers "%name"
  70.                and "%id". Those will be replaced by the objects' name/ID before
  71.                the command is executed.
  72.  
  73. Syntax:        DoForMmb <group name> <command line>
  74.                - The group name may not contain wildcards.
  75.                - <command line> is a valid DOS command line.
  76.  
  77. Examples:      DoForMmb everyone  NCOPY Z:test.doc SYS:MAIL\%id
  78.                     (copies test.doc to all mail boxes)
  79.  
  80.                DoForMmb MyGroup   MD F:\%name
  81.                     (creates directories for group members)
  82.  
  83.  
  84.  
  85.